from selenium.webdriver.common.by import By

from lagou_cekai.task3_1.thirteen_class_actual_combat.Page.Base_page import BasePage


class EleAddMemberPage(BasePage):
    def xingming(self):
        return self.driver.find_element_by_id('username')
    def shibeihao(self):
        return self.driver.find_element_by_id('memberAdd_acctid')

    def xingbie_nv(self):
        return self.driver.find_element(By.CSS_SELECTOR, ".ww_radio")

    def shoujihaoma(self):
        return self.driver.find_element_by_id('memberAdd_phone')

    def baocun(self):
        return self.driver.find_element(By.CSS_SELECTOR, ".qui_btn.ww_btn.js_btn_save")